#the heck of a math homework
main: main.cpp functions.o tools.o#main is the target , mian.cpp is the source
	g++ main.cpp functions.o tools.o -o main

.PHONY: debug
debug: debug.o functions.o tools.o
	g++ debug.o functions.o tools.o -o debug

functions.o : functions.cpp
	g++ -c functions.cpp

tools.o : tools.cpp
	g++ -c tools.cpp

debug.o : debug.cpp
	g++ -c debug.cpp

.PHONY: clean
clean :
	rm *.o main debug

.PHONY: play
play :
	g++ play.cpp -o play